import { createRouter, createWebHistory } from 'vue-router'

import A from '@/views/a.vue'
import B from '@/views/b.vue'
import C from '@/views/c.vue'
import D from '@/views/d.vue'
import E from '@/views/e.vue'
import Ss from '@/views/ss.vue'
import Xq from '@/views/xq.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/a',
    
      component: A,
      children:[
        {  path: 'b',
    
      component: B,},
        {  path: 'c',
    
      component: C,},
        {  path: 'd',
    
      component: D,},
        {  path: 'e',
    
      component: E,},
      ]
    },
{
  path: '/ss',
    
      component: Ss,
},
{
  path: '/xq',
    
      component: Xq,
}
  ],
})

export default router
